<template>
	<view class="item-template">
		<navigator :url="url">
			<view class="auto-printer-delivery box">
				<image class="image" :src="imageUrl"></image>
				<view class="box-ctn">
					{{title}}
				</view>
			</view>
		</navigator>
	</view>

</template>

<script>
	export default {
		name: "SlideShow",
		data() {
			return {

			};
		},
		props: {
			url: {
				type: String,
				default: ""
			},
			imageUrl: {
				type: String,
				default: ""
			},
			title: {
				type: String,
				default: ""
			}
		}
	}
</script>

<style lang="scss" scoped>
	.item-template .box {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border: 1px solid #fff;
		padding: 20rpx 0;
		box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.1);
		border-radius: 6rpx;
		.box-ctn {
			font-size: 28rpx;
			color: #909399;
		}
	}

	/deep/ .image {
		width: 80rpx;
		height: 80rpx;
		margin-bottom:$uni-spacing-col-lg;
	}
</style>
